package com.siashan.toolkit.lock4j.key;

import org.aopalliance.intercept.MethodInvocation;

/**
 * 分布式锁key生成器接口类
 *
 * @author siashan
 * @since v1.0.1
 */
public abstract class AbstractLockKeyBuilder {

    /**
     * 构建key
     *
     * @param invocation     invocation
     * @param definitionKeys 定义
     * @return key
     */
   public abstract String buildKey(MethodInvocation invocation, String[] definitionKeys);
}
